package cards

import (
	"context"
	cards2 "git.900sui.cn/kc/rpcinterface/interface/cards"
	"git.900sui.cn/kc/rpcinterface/interface/task/cards"
)

//更新门店的活动入参
type ArgsSetShopsActivity struct {
	ShopIds []int  	//需要更新的门店数组
	Activity int	//参与的活动，数组类型[]; 1=有红包 2=ai团 3=分期 4=可预约 5=mlc 6=协会会员 7=体验 8=优惠券 9=共享卡
}

//门店卡项
type ShopCards interface {
	//设置门店的卡项
	SetItem(ctx context.Context, args *cards.ShopItems, reply *bool) error

	//九百岁APP查询门店信息
	SearchItem(ctx context.Context, args *cards2.ArgsAppInfos, reply *map[string]interface{}) error

	//根据ItemId查询门店信息
	GetShopInfoByItemId(ctx context.Context, args *cards2.ArgsShopList, reply *map[string]interface{}) error

	//更新门店的活动
	SetShopsActivity(ctx context.Context, args *ArgsSetShopsActivity, reply *bool) error
}